package com.xcode.biz.mapper;

import com.xcode.biz.dto.UserDTO;

import java.util.List;

/**
 * 用户Mapper
 */
public interface UserMapper {

    void saveUser(UserDTO userDTO) throws Exception;

    void updareUser(UserDTO userDTO);

    UserDTO getUserByCode(String userCode);

    List<UserDTO> getUserList(int age);
}
